package com.xiaoming.backend.entity.db.example;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderPOExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderPOExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoIsNull() {
            addCriterion("order_sqno is null");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoIsNotNull() {
            addCriterion("order_sqno is not null");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoEqualTo(String value) {
            addCriterion("order_sqno =", value, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoNotEqualTo(String value) {
            addCriterion("order_sqno <>", value, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoGreaterThan(String value) {
            addCriterion("order_sqno >", value, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoGreaterThanOrEqualTo(String value) {
            addCriterion("order_sqno >=", value, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoLessThan(String value) {
            addCriterion("order_sqno <", value, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoLessThanOrEqualTo(String value) {
            addCriterion("order_sqno <=", value, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoLike(String value) {
            addCriterion("order_sqno like", value, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoNotLike(String value) {
            addCriterion("order_sqno not like", value, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoIn(List<String> values) {
            addCriterion("order_sqno in", values, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoNotIn(List<String> values) {
            addCriterion("order_sqno not in", values, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoBetween(String value1, String value2) {
            addCriterion("order_sqno between", value1, value2, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderSqnoNotBetween(String value1, String value2) {
            addCriterion("order_sqno not between", value1, value2, "orderSqno");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdIsNull() {
            addCriterion("order_waste_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdIsNotNull() {
            addCriterion("order_waste_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdEqualTo(Long value) {
            addCriterion("order_waste_id =", value, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdNotEqualTo(Long value) {
            addCriterion("order_waste_id <>", value, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdGreaterThan(Long value) {
            addCriterion("order_waste_id >", value, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_waste_id >=", value, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdLessThan(Long value) {
            addCriterion("order_waste_id <", value, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdLessThanOrEqualTo(Long value) {
            addCriterion("order_waste_id <=", value, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdIn(List<Long> values) {
            addCriterion("order_waste_id in", values, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdNotIn(List<Long> values) {
            addCriterion("order_waste_id not in", values, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdBetween(Long value1, Long value2) {
            addCriterion("order_waste_id between", value1, value2, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderWasteIdNotBetween(Long value1, Long value2) {
            addCriterion("order_waste_id not between", value1, value2, "orderWasteId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdIsNull() {
            addCriterion("order_start_facility_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdIsNotNull() {
            addCriterion("order_start_facility_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdEqualTo(Long value) {
            addCriterion("order_start_facility_id =", value, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdNotEqualTo(Long value) {
            addCriterion("order_start_facility_id <>", value, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdGreaterThan(Long value) {
            addCriterion("order_start_facility_id >", value, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_start_facility_id >=", value, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdLessThan(Long value) {
            addCriterion("order_start_facility_id <", value, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdLessThanOrEqualTo(Long value) {
            addCriterion("order_start_facility_id <=", value, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdIn(List<Long> values) {
            addCriterion("order_start_facility_id in", values, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdNotIn(List<Long> values) {
            addCriterion("order_start_facility_id not in", values, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdBetween(Long value1, Long value2) {
            addCriterion("order_start_facility_id between", value1, value2, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStartFacilityIdNotBetween(Long value1, Long value2) {
            addCriterion("order_start_facility_id not between", value1, value2, "orderStartFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdIsNull() {
            addCriterion("order_end_facility_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdIsNotNull() {
            addCriterion("order_end_facility_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdEqualTo(Long value) {
            addCriterion("order_end_facility_id =", value, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdNotEqualTo(Long value) {
            addCriterion("order_end_facility_id <>", value, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdGreaterThan(Long value) {
            addCriterion("order_end_facility_id >", value, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_end_facility_id >=", value, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdLessThan(Long value) {
            addCriterion("order_end_facility_id <", value, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdLessThanOrEqualTo(Long value) {
            addCriterion("order_end_facility_id <=", value, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdIn(List<Long> values) {
            addCriterion("order_end_facility_id in", values, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdNotIn(List<Long> values) {
            addCriterion("order_end_facility_id not in", values, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdBetween(Long value1, Long value2) {
            addCriterion("order_end_facility_id between", value1, value2, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderEndFacilityIdNotBetween(Long value1, Long value2) {
            addCriterion("order_end_facility_id not between", value1, value2, "orderEndFacilityId");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNull() {
            addCriterion("order_status is null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNotNull() {
            addCriterion("order_status is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusEqualTo(String value) {
            addCriterion("order_status =", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotEqualTo(String value) {
            addCriterion("order_status <>", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThan(String value) {
            addCriterion("order_status >", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanOrEqualTo(String value) {
            addCriterion("order_status >=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThan(String value) {
            addCriterion("order_status <", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanOrEqualTo(String value) {
            addCriterion("order_status <=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLike(String value) {
            addCriterion("order_status like", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotLike(String value) {
            addCriterion("order_status not like", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIn(List<String> values) {
            addCriterion("order_status in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotIn(List<String> values) {
            addCriterion("order_status not in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusBetween(String value1, String value2) {
            addCriterion("order_status between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotBetween(String value1, String value2) {
            addCriterion("order_status not between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdIsNull() {
            addCriterion("disposql_user_id is null");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdIsNotNull() {
            addCriterion("disposql_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdEqualTo(Long value) {
            addCriterion("disposql_user_id =", value, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdNotEqualTo(Long value) {
            addCriterion("disposql_user_id <>", value, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdGreaterThan(Long value) {
            addCriterion("disposql_user_id >", value, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("disposql_user_id >=", value, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdLessThan(Long value) {
            addCriterion("disposql_user_id <", value, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdLessThanOrEqualTo(Long value) {
            addCriterion("disposql_user_id <=", value, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdIn(List<Long> values) {
            addCriterion("disposql_user_id in", values, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdNotIn(List<Long> values) {
            addCriterion("disposql_user_id not in", values, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdBetween(Long value1, Long value2) {
            addCriterion("disposql_user_id between", value1, value2, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlUserIdNotBetween(Long value1, Long value2) {
            addCriterion("disposql_user_id not between", value1, value2, "disposqlUserId");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateIsNull() {
            addCriterion("disposql_date is null");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateIsNotNull() {
            addCriterion("disposql_date is not null");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateEqualTo(Date value) {
            addCriterion("disposql_date =", value, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateNotEqualTo(Date value) {
            addCriterion("disposql_date <>", value, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateGreaterThan(Date value) {
            addCriterion("disposql_date >", value, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateGreaterThanOrEqualTo(Date value) {
            addCriterion("disposql_date >=", value, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateLessThan(Date value) {
            addCriterion("disposql_date <", value, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateLessThanOrEqualTo(Date value) {
            addCriterion("disposql_date <=", value, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateIn(List<Date> values) {
            addCriterion("disposql_date in", values, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateNotIn(List<Date> values) {
            addCriterion("disposql_date not in", values, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateBetween(Date value1, Date value2) {
            addCriterion("disposql_date between", value1, value2, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlDateNotBetween(Date value1, Date value2) {
            addCriterion("disposql_date not between", value1, value2, "disposqlDate");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkIsNull() {
            addCriterion("disposql_remark is null");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkIsNotNull() {
            addCriterion("disposql_remark is not null");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkEqualTo(String value) {
            addCriterion("disposql_remark =", value, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkNotEqualTo(String value) {
            addCriterion("disposql_remark <>", value, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkGreaterThan(String value) {
            addCriterion("disposql_remark >", value, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("disposql_remark >=", value, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkLessThan(String value) {
            addCriterion("disposql_remark <", value, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkLessThanOrEqualTo(String value) {
            addCriterion("disposql_remark <=", value, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkLike(String value) {
            addCriterion("disposql_remark like", value, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkNotLike(String value) {
            addCriterion("disposql_remark not like", value, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkIn(List<String> values) {
            addCriterion("disposql_remark in", values, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkNotIn(List<String> values) {
            addCriterion("disposql_remark not in", values, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkBetween(String value1, String value2) {
            addCriterion("disposql_remark between", value1, value2, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlRemarkNotBetween(String value1, String value2) {
            addCriterion("disposql_remark not between", value1, value2, "disposqlRemark");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressIsNull() {
            addCriterion("disposql_progress is null");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressIsNotNull() {
            addCriterion("disposql_progress is not null");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressEqualTo(String value) {
            addCriterion("disposql_progress =", value, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressNotEqualTo(String value) {
            addCriterion("disposql_progress <>", value, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressGreaterThan(String value) {
            addCriterion("disposql_progress >", value, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressGreaterThanOrEqualTo(String value) {
            addCriterion("disposql_progress >=", value, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressLessThan(String value) {
            addCriterion("disposql_progress <", value, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressLessThanOrEqualTo(String value) {
            addCriterion("disposql_progress <=", value, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressLike(String value) {
            addCriterion("disposql_progress like", value, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressNotLike(String value) {
            addCriterion("disposql_progress not like", value, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressIn(List<String> values) {
            addCriterion("disposql_progress in", values, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressNotIn(List<String> values) {
            addCriterion("disposql_progress not in", values, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressBetween(String value1, String value2) {
            addCriterion("disposql_progress between", value1, value2, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andDisposqlProgressNotBetween(String value1, String value2) {
            addCriterion("disposql_progress not between", value1, value2, "disposqlProgress");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdIsNull() {
            addCriterion("crtd_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdIsNotNull() {
            addCriterion("crtd_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdEqualTo(Long value) {
            addCriterion("crtd_user_id =", value, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdNotEqualTo(Long value) {
            addCriterion("crtd_user_id <>", value, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdGreaterThan(Long value) {
            addCriterion("crtd_user_id >", value, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("crtd_user_id >=", value, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdLessThan(Long value) {
            addCriterion("crtd_user_id <", value, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdLessThanOrEqualTo(Long value) {
            addCriterion("crtd_user_id <=", value, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdIn(List<Long> values) {
            addCriterion("crtd_user_id in", values, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdNotIn(List<Long> values) {
            addCriterion("crtd_user_id not in", values, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdBetween(Long value1, Long value2) {
            addCriterion("crtd_user_id between", value1, value2, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdUserIdNotBetween(Long value1, Long value2) {
            addCriterion("crtd_user_id not between", value1, value2, "crtdUserId");
            return (Criteria) this;
        }

        public Criteria andCrtdDateIsNull() {
            addCriterion("crtd_date is null");
            return (Criteria) this;
        }

        public Criteria andCrtdDateIsNotNull() {
            addCriterion("crtd_date is not null");
            return (Criteria) this;
        }

        public Criteria andCrtdDateEqualTo(Date value) {
            addCriterion("crtd_date =", value, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdDateNotEqualTo(Date value) {
            addCriterion("crtd_date <>", value, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdDateGreaterThan(Date value) {
            addCriterion("crtd_date >", value, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdDateGreaterThanOrEqualTo(Date value) {
            addCriterion("crtd_date >=", value, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdDateLessThan(Date value) {
            addCriterion("crtd_date <", value, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdDateLessThanOrEqualTo(Date value) {
            addCriterion("crtd_date <=", value, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdDateIn(List<Date> values) {
            addCriterion("crtd_date in", values, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdDateNotIn(List<Date> values) {
            addCriterion("crtd_date not in", values, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdDateBetween(Date value1, Date value2) {
            addCriterion("crtd_date between", value1, value2, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdDateNotBetween(Date value1, Date value2) {
            addCriterion("crtd_date not between", value1, value2, "crtdDate");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkIsNull() {
            addCriterion("crtd_remark is null");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkIsNotNull() {
            addCriterion("crtd_remark is not null");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkEqualTo(String value) {
            addCriterion("crtd_remark =", value, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkNotEqualTo(String value) {
            addCriterion("crtd_remark <>", value, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkGreaterThan(String value) {
            addCriterion("crtd_remark >", value, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("crtd_remark >=", value, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkLessThan(String value) {
            addCriterion("crtd_remark <", value, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkLessThanOrEqualTo(String value) {
            addCriterion("crtd_remark <=", value, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkLike(String value) {
            addCriterion("crtd_remark like", value, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkNotLike(String value) {
            addCriterion("crtd_remark not like", value, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkIn(List<String> values) {
            addCriterion("crtd_remark in", values, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkNotIn(List<String> values) {
            addCriterion("crtd_remark not in", values, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkBetween(String value1, String value2) {
            addCriterion("crtd_remark between", value1, value2, "crtdRemark");
            return (Criteria) this;
        }

        public Criteria andCrtdRemarkNotBetween(String value1, String value2) {
            addCriterion("crtd_remark not between", value1, value2, "crtdRemark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}